const { t } = useI18n()

export const ustcStudentSchema = [
  {
    label: t('ustcstudent.view.tab.basic'),
    options: [
      // region 主表字段
      {
        label: t('ustcstudent.fields.studentCode'),
        field: 'student_code'
      },
      {
        label: t('ustcstudent.fields.studentName'),
        field: 'student_name'
      },
      {
        label: t('ustcstudent.fields.studentNamePinyin'),
        field: 'student_name_pinyin'
      },
      {
        label: t('ustcstudent.fields.studentNameUsed'),
        field: 'student_name_used'
      },
      {
        label: t('ustcstudent.fields.gender'),
        field: 'gender'
      },
      {
        label: t('ustcstudent.fields.ethnic'),
        field: 'ethnic'
      },
      {
        label: t('ustcstudent.fields.birthdate'),
        field: 'birthdate'
      },
      {
        label: t('ustcstudent.fields.nativePlace'),
        field: 'native_place'
      },
      {
        label: t('ustcstudent.fields.politicalStatus'),
        field: 'political_status'
      },
      {
        label: t('ustcstudent.fields.identityType'),
        field: 'identity_type'
      },
      {
        label: t('ustcstudent.fields.identityNumber'),
        field: 'identity_number'
      },
      {
        label: t('ustcstudent.fields.passportNameEnglish'),
        field: 'passport_name_english'
      },
      {
        label: t('ustcstudent.fields.countryRegion'),
        field: 'country_region'
      },
      {
        label: t('ustcstudent.fields.marriageStatus'),
        field: 'marriage_status'
      },
      {
        label: t('ustcstudent.fields.studentOrigin'),
        field: 'student_origin'
      },
      {
        label: t('ustcstudent.fields.birthPlace'),
        field: 'birth_place'
      },
      {
        label: t('ustcstudent.fields.homeAddress'),
        field: 'home_address'
      },
      {
        label: t('ustcstudent.fields.residencePlace'),
        field: 'residence_place'
      },
      {
        label: t('ustcstudent.fields.residenceAddress'),
        field: 'residence_address'
      },
      {
        label: t('ustcstudent.fields.residenceZipcode'),
        field: 'residence_zipcode'
      },
      {
        label: t('ustcstudent.fields.onePassCode'),
        field: 'one_pass_code'
      },
      {
        label: t('ustcstudent.fields.stationUniversity'),
        field: 'station_university'
      },
      {
        label: t('ustcstudent.fields.stationHome'),
        field: 'station_home'
      },
      {
        label: t('ustcstudent.fields.personalPhone1'),
        field: 'personal_phone1'
      },
      {
        label: t('ustcstudent.fields.personalPhone2'),
        field: 'personal_phone2'
      },
      {
        label: t('ustcstudent.fields.personalPhone3'),
        field: 'personal_phone3'
      },
      {
        label: t('ustcstudent.fields.personalEmail1'),
        field: 'personal_email1'
      },
      {
        label: t('ustcstudent.fields.personalEmail2'),
        field: 'personal_email2'
      },
      {
        label: t('ustcstudent.fields.personalEmailUniversity'),
        field: 'personal_email_university'
      },
      {
        label: t('ustcstudent.fields.masterNumber'),
        field: 'master_number'
      },
      {
        label: t('ustcstudent.fields.phdNumber'),
        field: 'phd_number'
      },
      {
        label: t('ustcstudent.fields.bachelorNumber'),
        field: 'bachelor_number'
      },
      // {
      //   label: t('ustcstudent.fields.trainingPeriod'),
      //   field: 'training_period'
      // },
      // {
      //   label: t('ustcstudent.fields.trainingInstitution'),
      //   field: 'training_institution'
      // },
      {
        label: t('ustcstudent.fields.remark'),
        field: 'remark'
      },
      {
        label: t('ustcstudent.fields.mentorCode'),
        field: 'mentor_code'
      },
      {
        label: t('ustcstudent.fields.mentorName'),
        field: 'mentor_name'
      },
      {
        label: t('ustcstudent.fields.researchDept'),
        field: 'research_dept'
      },
      {
        label: t('ustcstudent.fields.arpNumber'),
        field: 'arp_number'
      }
      // endregion
    ]
  },
  {
    label: t('ustcstudent.view.tab.university'),
    options: [
      // region 在校信息
      {
        label: t('ustcStudentInfoUniversity.fields.inschoolFlag'),
        field: 'u.inschool_flag'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.studentStatus'),
        field: 'u.student_status'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.studentStatusChange'),
        field: 'u.student_status_change'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.admissionSeason'),
        field: 'u.admission_season'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.admissionTime'),
        field: 'u.admission_time'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.admissionType'),
        field: 'u.admission_type'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.studentType'),
        field: 'u.student_type'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.eduDuration'),
        field: 'u.edu_duration'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.trainingLevel'),
        field: 'u.training_level'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.grade'),
        field: 'u.grade'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.faculty'),
        field: 'u.faculty'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.major'),
        field: 'u.major'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.category'),
        field: 'u.category'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.firstLevelSubject'),
        field: 'u.first_level_subject'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.professionalDirection'),
        field: 'u.professional_direction'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.trainingMethod'),
        field: 'u.training_method'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.learnMethod'),
        field: 'u.learn_method'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.specialPlan'),
        field: 'u.special_plan'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.elecAcademicRegNote'),
        field: 'u.elec_academic_reg_note'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.classroom'),
        field: 'u.classroom'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.primaryMentor'),
        field: 'u.primary_mentor'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.secondaryMentor'),
        field: 'u.secondary_mentor'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.residenceCampus'),
        field: 'u.residence_campus'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.dormAddress'),
        field: 'u.dorm_address'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.basicPeriod'),
        field: 'u.basic_period'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.longestPeriod'),
        field: 'u.longest_period'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.registerStatus'),
        field: 'u.register_status'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.fundingPeriod'),
        field: 'u.funding_period'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.defenseDate'),
        field: 'u.defense_date'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.leaveDate'),
        field: 'u.leave_date'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.graduationConclusion'),
        field: 'u.graduation_conclusion'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.graduationDate'),
        field: 'u.graduation_date'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.graduationNumber'),
        field: 'u.graduation_number'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.degreeType'),
        field: 'u.degree_type'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.degree'),
        field: 'u.degree'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.degreeDate'),
        field: 'u.degree_date'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.phdInResearch'),
        field: 'u.phd_in_research'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.transferYear'),
        field: 'u.transfer_year'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.destinationType'),
        field: 'u.destination_type'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.destinationUnit'),
        field: 'u.destination_unit'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.archiveAddress'),
        field: 'u.archive_address'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.archiveContact'),
        field: 'u.archive_contact'
      },
      {
        label: t('ustcStudentInfoUniversity.fields.archiveTelephone'),
        field: 'u.archive_telephone'
      }
      // {
      //   label: t('ustcStudentInfoUniversity.fields.confirmLeave'),
      //   field: 'u.confirm_leave'
      // }
      // endregion
    ]
  },
  {
    label: t('ustcstudent.view.tab.admission'),
    options: [
      // region 入学信息
      // {
      //   label: t('ustcStudentInfoAdmission.fields.admissionsYear'),
      //   field: 'a.admissions_year'
      // },
      {
        label: t('ustcStudentInfoAdmission.fields.candidateNumber'),
        field: 'a.candidate_number'
      },
      {
        label: t('ustcStudentInfoAdmission.fields.admissionCategory'),
        field: 'a.admission_category'
      },
      {
        label: t('ustcStudentInfoAdmission.fields.examMethod'),
        field: 'a.exam_method'
      },
      // {
      //   label: t('ustcStudentInfoAdmission.fields.retentionPeriod'),
      //   field: 'a.retention_period'
      // },
      {
        label: t('ustcStudentInfoAdmission.fields.trainingUnitLocation'),
        field: 'a.training_unit_location'
      },
      {
        label: t('ustcStudentInfoAdmission.fields.trainingUnit'),
        field: 'a.training_unit'
      },
      {
        label: t('ustcStudentInfoAdmission.fields.rewardsSanctions'),
        field: 'a.rewards_sanctions'
      },
      {
        label: t('ustcStudentInfoAdmission.fields.personalExperience'),
        field: 'a.personal_experience'
      },
      {
        label: t('ustcStudentInfoAdmission.fields.familyInfo'),
        field: 'a.family_info'
      }
      // endregion
    ]
  },
  {
    label: t('ustcstudent.view.tab.degree'),
    options: [
      // region 本科/硕士信息
      {
        label: t('ustcStudentInfoDegree.fields.undergraduateSchool'),
        field: 'd.undergraduate_school'
      },
      {
        label: t('ustcStudentInfoDegree.fields.undergraduateDate'),
        field: 'd.undergraduate_date'
      },
      {
        label: t('ustcStudentInfoDegree.fields.undergraduateMajor'),
        field: 'd.undergraduate_major'
      },
      {
        label: t('ustcStudentInfoDegree.fields.undergraduateStudyForm'),
        field: 'd.undergraduate_study_form'
      },
      {
        label: t('ustcStudentInfoDegree.fields.bachelorUnit'),
        field: 'd.bachelor_unit'
      },
      {
        label: t('ustcStudentInfoDegree.fields.bachelorDate'),
        field: 'd.bachelor_date'
      },
      {
        label: t('ustcStudentInfoDegree.fields.bachelorMajor'),
        field: 'd.bachelor_major'
      },
      {
        label: t('ustcStudentInfoDegree.fields.bachelorCategory'),
        field: 'd.bachelor_category'
      },
      {
        label: t('ustcStudentInfoDegree.fields.undergraduateNumber'),
        field: 'd.undergraduate_number'
      },
      {
        label: t('ustcStudentInfoDegree.fields.undergraduateDegree'),
        field: 'd.undergraduate_degree'
      },
      {
        label: t('ustcStudentInfoDegree.fields.bachelorNumber'),
        field: 'd.bachelor_number'
      },
      {
        label: t('ustcStudentInfoDegree.fields.undergraduateQualification'),
        field: 'd.undergraduate_qualification'
      },
      {
        label: t('ustcStudentInfoDegree.fields.masterGraduateUnit'),
        field: 'd.master_graduate_unit'
      },
      {
        label: t('ustcStudentInfoDegree.fields.masterGraduateDate'),
        field: 'd.master_graduate_date'
      },
      {
        label: t('ustcStudentInfoDegree.fields.masterGraduateMajor'),
        field: 'd.master_graduate_major'
      },
      {
        label: t('ustcStudentInfoDegree.fields.masterMethod'),
        field: 'd.master_method'
      },
      {
        label: t('ustcStudentInfoDegree.fields.masterQualificationUnit'),
        field: 'd.master_qualification_unit'
      },
      {
        label: t('ustcStudentInfoDegree.fields.masterQualificationDate'),
        field: 'd.master_qualification_date'
      },
      {
        label: t('ustcStudentInfoDegree.fields.masterQualificationMajor'),
        field: 'd.master_qualification_major'
      },
      {
        label: t('ustcStudentInfoDegree.fields.masterCategory'),
        field: 'd.master_category'
      },
      {
        label: t('ustcStudentInfoDegree.fields.masterGraduateNumber'),
        field: 'd.master_graduate_number'
      },
      {
        label: t('ustcStudentInfoDegree.fields.masterDegree'),
        field: 'd.master_degree'
      },
      {
        label: t('ustcStudentInfoDegree.fields.masterQualificationNumber'),
        field: 'd.master_qualification_number'
      },
      {
        label: t('ustcStudentInfoDegree.fields.masterQualification'),
        field: 'd.master_qualification'
      }
      // endregion
    ]
  },
  {
    label: t('ustcstudent.view.tab.personal'),
    options: [
      // region 个人联系信息
      {
        label: t('ustcStudentInfoPersonal.fields.wechat'),
        field: 'p.wechat'
      },
      {
        label: t('ustcStudentInfoPersonal.fields.qq'),
        field: 'p.qq'
      },
      {
        label: t('ustcStudentInfoPersonal.fields.homePhone'),
        field: 'p.home_phone'
      },
      {
        label: t('ustcStudentInfoPersonal.fields.homeZipcode'),
        field: 'p.home_zipcode'
      },
      {
        label: t('ustcStudentInfoPersonal.fields.homeAddress'),
        field: 'p.home_address'
      },
      {
        label: t('ustcStudentInfoPersonal.fields.emergencyContact'),
        field: 'p.emergency_contact'
      },
      {
        label: t('ustcStudentInfoPersonal.fields.emergencyPhone'),
        field: 'p.emergency_phone'
      },
      {
        label: t('ustcStudentInfoPersonal.fields.emergencyAddress'),
        field: 'p.emergency_address'
      },
      {
        label: t('ustcStudentInfoPersonal.fields.currentUnit'),
        field: 'p.current_unit'
      },
      {
        label: t('ustcStudentInfoPersonal.fields.currentAddress'),
        field: 'p.current_address'
      }
      // endregion
    ]
  }
]
